#!/usr/bin/env python
PACKAGE = "agv_navigate"

from dynamic_reconfigure.parameter_generator_catkin import *

gen = ParameterGenerator()

# name, type, level, description, default, min, max
gen.add("mode", int_t, 0, "0-close,1-safeMode,2-autoMode", 1, 0, 2)
gen.add("dis_max", double_t, 0, "The maximum distance allowed", 5,0,100)
gen.add("high_speed", double_t, 0, "Speed in motion",0.3,0.01,0.5)
gen.add("low_speed", double_t, 0, "Speed in approach", 0.1,0.01,0.5)

exit(gen.generate(PACKAGE, "agv_navigate", "params"))


